/*
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * $Id: GammuStateMachinePythonTest.java 661 2007-06-30 09:06:52Z jack.rybicki $
 */
package gammu.java.machines;

import static org.junit.Assert.*;

import java.util.Map;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * DOCUMENT ME!
 *
 */
public class GammuStateMachinePythonTest {

	private GammuStateMachinePython sm;
	/**
	 * DOCUMENT ME!
	 *
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
		sm = new GammuStateMachinePython();
	}

	/**
	 * DOCUMENT ME!
	 *
	 * @throws java.lang.Exception
	 */
	@After
	public void tearDown() throws Exception {
	}

	/**
	 * Test method for {@link gammu.java.machines.GammuStateMachinePython#getPhoneId()}.
	 */
	@Test
	public void testGetPhoneId() {
		Map<String, String> m = sm.getPhoneId();
		assertNotNull(m);
		assertTrue(m.keySet().size() > 0);
		for (String k : m.keySet()) {
			System.out.println(k + ":" + m.get(k));
			assertNotNull(k);
			assertNotNull(m.get(k));
		}
	}

	/**
	 * Test method for {@link gammu.java.machines.GammuStateMachinePython#GammuStateMachinePython()}.
	 */
	@Test
	public void testGammuStateMachinePython() {
		assertNotNull(sm);
	}

}
